home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 December / PCWorld_2007-12_cd.bin / domacnost a kancelar / autoit / autoit-v3-setup.exe / Examples / Helpfile / _IEFrameGetObjByName.au3 < prev    next >
Text File  |  2007-09-08  |  421b  |  10 lines

  1. ; *******************************************************
  2. ; Example 1 - Open iFrame example, get a reference to the iFrame
  3. ;                with a name of "iFrameTwo" and replace its body HTML
  4. ; *******************************************************
  5. ;
  6. #include <IE.au3>
  7. $oIE = _IE_Example ("iframe")
  8. $oFrame = _IEFrameGetObjByName ($oIE, "iFrameTwo")
  9. _IEBodyWriteHTML ($oFrame, "Hello <b>iFrame!</b>")
  10. _IELoadWait ($oFrame)